{smcl}
{txt}{sf}{ul off}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\Jin\Dropbox\BACA paper\Governance\Replication File Materials\Code\Main Models.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res} 1 Jul 2019, 18:01:33
{txt}
{com}. 
. 
. 
.  * OPEN "HISTORICAL BUDGET" DATABASE CONTAINING NEW VARIABLES * 
.  
. use data_final.dta, clear 
{txt}
{com}. 
. 
. **********************************************************************************************************************************************************************************************************
. **********************************************************************************************************************************************************************************************************
. **********************************************************************************************************************************************************************************************************
. **********************************************************************************************************************************************************************************************************
. **********************************************************************************************************************************************************************************************************
. **********************************************************************************************************************************************************************************************************
. 
. 
. 
. 
. *** DECLARE DATABASE AS A PANEL (AGENCY ID * FISCAL YEAR): 
. 
. xtset agenid fyear, yearly
{res}{txt}{col 8}panel variable:  {res}agenid (unbalanced)
{txt}{col 9}time variable:  {res}{col 25}fyear, 1894 to 1940
{txt}{col 17}delta:  {res}1 year
{txt}
{com}. 
. *
. *
. *
. 
. 
. 
. *** I. ESTIMATE EFFECT OF BAA REFORMS ON BUDGETARY CONTROL [BUDGETARY GROWTH AS DEPENDENT VARIABLE] ***
. 
. 
. 
. *** ESTIMATE EXECUTIVE BUDGET CONTROL USING ABADIE'S SEMI-PARAMETRIC PROPENSITY SCORE WEIGHTED ESTIMATOR OF HETEROGENEOUS AVERAGE TREATMENT EFFECTS ***
. 
. absdid execbudchangetot, tvar(bureauofbudget)  xvar(presidentparty presidentialstabilityadministrat housemajoritypartystability senatemajoritypartystability ///
> agencyheadstability realgnpgrowth realfeddeficitgnp lnagencyage) sle
{res}
{txt}Abadie's semi-parametric diff-in-diff{col 49}Number of obs{col 67}= {res}       739

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}execbudcha~t{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATT          {txt}{c |}
{space 7}_cons {c |}{col 14}{res}{space 2} 2.897352{col 26}{space 2} 3.351738{col 37}{space 1}    0.86{col 46}{space 3}0.387{col 54}{space 4}-3.671934{col 67}{space 3} 9.466638
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store ateect
{txt}
{com}. *
. absdid execbudchangetot, tvar(bureauofbudget)  xvar(presidentparty presidentialstabilityadministrat housemajoritypartystability senatemajoritypartystability ///
> agencyheadstability realgnpgrowth realfeddeficitgnp lnagencyage) yxvar(executiveagency) sle
{res}
{txt}Abadie's semi-parametric diff-in-diff{col 49}Number of obs{col 67}= {res}       739

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}execbudchange~t{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATT             {txt}{c |}
executiveagency {c |}{col 17}{res}{space 2}-10.74093{col 29}{space 2} 6.708377{col 40}{space 1}   -1.60{col 49}{space 3}0.109{col 57}{space 4}-23.88911{col 70}{space 3} 2.407244
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} 8.174206{col 29}{space 2} 5.156351{col 40}{space 1}    1.59{col 49}{space 3}0.113{col 57}{space 4}-1.932056{col 70}{space 3} 18.28047
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store ecti
{txt}
{com}. 
. lincomest _cons + executiveagency
{txt}Confidence interval for formula:
{res}_cons+executiveagency

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}execbudcha~t{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-2.566728{col 26}{space 2} 4.274879{col 37}{space 1}   -0.60{col 46}{space 3}0.548{col 54}{space 4}-10.94534{col 67}{space 3} 5.811881
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store ecte
{txt}
{com}. *
. *
. *
. absdid execbudchangereg, tvar(bureauofbudget)  xvar(presidentparty presidentialstabilityadministrat housemajoritypartystability senatemajoritypartystability ///
> agencyheadstability realgnpgrowth realfeddeficitgnp lnagencyage) sle
{res}
{txt}Abadie's semi-parametric diff-in-diff{col 49}Number of obs{col 67}= {res}       739

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}execbudcha~g{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATT          {txt}{c |}
{space 7}_cons {c |}{col 14}{res}{space 2} 4.222082{col 26}{space 2} 2.403988{col 37}{space 1}    1.76{col 46}{space 3}0.079{col 54}{space 4}-.4896479{col 67}{space 3} 8.933813
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store ateecr
{txt}
{com}. *
. absdid execbudchangereg, tvar(bureauofbudget)  xvar(presidentparty presidentialstabilityadministrat housemajoritypartystability senatemajoritypartystability ///
> agencyheadstability realgnpgrowth realfeddeficitgnp lnagencyage) yxvar(executiveagency) sle
{res}
{txt}Abadie's semi-parametric diff-in-diff{col 49}Number of obs{col 67}= {res}       739

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}execbudchange~g{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATT             {txt}{c |}
executiveagency {c |}{col 17}{res}{space 2}-5.529826{col 29}{space 2} 4.779103{col 40}{space 1}   -1.16{col 49}{space 3}0.247{col 57}{space 4}-14.89669{col 70}{space 3} 3.837043
{txt}{space 10}_cons {c |}{col 17}{res}{space 2}   6.9388{col 29}{space 2} 3.966007{col 40}{space 1}    1.75{col 49}{space 3}0.080{col 57}{space 4}-.8344304{col 70}{space 3} 14.71203
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store ecri
{txt}
{com}. 
. lincomest _cons + executiveagency
{txt}Confidence interval for formula:
{res}_cons+executiveagency

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}execbudcha~g{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} 1.408974{col 26}{space 2} 2.670315{col 37}{space 1}    0.53{col 46}{space 3}0.598{col 54}{space 4}-3.824748{col 67}{space 3} 6.642696
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store ecre
{txt}
{com}. 
. *
. *
. *
. *
. *** ESTIMATE CONGRESSIONAL BUDGET CONTROL USING ABADIE'S SEMI-PARAMETRIC PROPENSITY SCORE WEIGHTED ESTIMATOR OF HETEROGENEOUS AVERAGE TREATMENT EFFECTS ***
. 
. absdid congbudchangetot, tvar(bureauofbudget)  xvar(housemajorityparty presidentialstabilityadministrat housemajoritypartystability senatemajoritypartystability ///
> appropcommchairstabilityest realgnpgrowth realfeddeficitgnp lnagencyage) sle
{res}
{txt}Abadie's semi-parametric diff-in-diff{col 49}Number of obs{col 67}= {res}       750

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}congbudcha~t{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATT          {txt}{c |}
{space 7}_cons {c |}{col 14}{res}{space 2} 7.014025{col 26}{space 2} 4.649433{col 37}{space 1}    1.51{col 46}{space 3}0.131{col 54}{space 4}-2.098696{col 67}{space 3} 16.12675
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store atecct
{txt}
{com}. *
. absdid congbudchangetot, tvar(bureauofbudget)  xvar(housemajorityparty  presidentialstabilityadministrat housemajoritypartystability senatemajoritypartystability ///
> appropcommchairstabilityest realgnpgrowth realfeddeficitgnp lnagencyage) yxvar(executiveagency) sle
{res}
{txt}Abadie's semi-parametric diff-in-diff{col 49}Number of obs{col 67}= {res}       750

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}congbudchange~t{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATT             {txt}{c |}
executiveagency {c |}{col 17}{res}{space 2}-7.538206{col 29}{space 2}  9.36274{col 40}{space 1}   -0.81{col 49}{space 3}0.421{col 57}{space 4}-25.88884{col 70}{space 3} 10.81243
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} 10.68352{col 29}{space 2} 7.962791{col 40}{space 1}    1.34{col 49}{space 3}0.180{col 57}{space 4}-4.923268{col 70}{space 3}  26.2903
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store ccti
{txt}
{com}. 
. lincomest _cons + executiveagency
{txt}Confidence interval for formula:
{res}_cons+executiveagency

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}congbudcha~t{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} 3.145309{col 26}{space 2} 4.743305{col 37}{space 1}    0.66{col 46}{space 3}0.507{col 54}{space 4}-6.151398{col 67}{space 3} 12.44202
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store ccte
{txt}
{com}. *
. *
. *
. absdid congbudchangereg, tvar(bureauofbudget)  xvar(housemajorityparty  presidentialstabilityadministrat housemajoritypartystability senatemajoritypartystability ///
> appropcommchairstabilityest realgnpgrowth realfeddeficitgnp lnagencyage) sle
{res}
{txt}Abadie's semi-parametric diff-in-diff{col 49}Number of obs{col 67}= {res}       750

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}congbudcha~g{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATT          {txt}{c |}
{space 7}_cons {c |}{col 14}{res}{space 2} 8.300177{col 26}{space 2} 3.669913{col 37}{space 1}    2.26{col 46}{space 3}0.024{col 54}{space 4}  1.10728{col 67}{space 3} 15.49307
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store ateccr
{txt}
{com}. 
. *
. absdid congbudchangereg, tvar(bureauofbudget)  xvar(housemajorityparty presidentialstabilityadministrat housemajoritypartystability senatemajoritypartystability ///
> appropcommchairstabilityest realgnpgrowth realfeddeficitgnp lnagencyage) yxvar(executiveagency) sle
{res}
{txt}Abadie's semi-parametric diff-in-diff{col 49}Number of obs{col 67}= {res}       750

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}congbudchange~g{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATT             {txt}{c |}
executiveagency {c |}{col 17}{res}{space 2}-5.642932{col 29}{space 2} 7.475974{col 40}{space 1}   -0.75{col 49}{space 3}0.450{col 57}{space 4}-20.29557{col 70}{space 3} 9.009706
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} 11.04708{col 29}{space 2} 6.622107{col 40}{space 1}    1.67{col 49}{space 3}0.095{col 57}{space 4}-1.932017{col 70}{space 3} 24.02617
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store ccri
{txt}
{com}. 
. lincomest _cons + executiveagency
{txt}Confidence interval for formula:
{res}_cons+executiveagency

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}congbudcha~g{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} 5.404143{col 26}{space 2} 3.172661{col 37}{space 1}    1.70{col 46}{space 3}0.089{col 54}{space 4}-.8141591{col 67}{space 3} 11.62244
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store ccre
{txt}
{com}. 
. *** Creating Coefficient Plots for Budget Control Models***
. 
. 
. *** Figure 1 ***
. coefplot (ateect, rename(_cons="Executive Estimates (ATE)") \ ///
>                         atecct, rename(_cons="Congressional Appropriations (ATE)")) ///
>                  (ecte, rename((1)="Executive Estimates (ATE: E)") \ ///
>                         ccte, rename((1)="Congressional Appropriations (ATE: E)")) ///
>                  (ecti, keep (_cons) rename(_cons="Executive Estimates (ATE: I)") \ ///
>                         ccti, keep (_cons) rename(_cons="Congressional Appropriations (ATE: I)")) ///
>                   ,  bylabel(Total Budget)  ///
>                   ||                       ///
>                  (ateecr, rename(_cons="Executive Estimates (ATE)")\ ///
>                         ateccr, rename(_cons="Congressional Appropriations (ATE)")) ///
>                  (ecre, rename((1)="Executive Estimates (ATE: E)")\ ///
>                         ccre, rename((1)="Congressional Appropriations (ATE: E)")) ///
>                  (ecri, keep (_cons) rename(_cons="Executive Estimates (ATE: I)")\ ///
>                         ccri, keep (_cons) rename(_cons="Congressional Appropriations (ATE: I)")) ///
>                   , bylabel(Regular Budget)   ///
>                   || ,                        ///
>           nokey xline (0, lcolor(black) lwidth(thin) lpattern(dash)) grid(w) ///
>                   ciopts(recast(rcap)) nooffsets msize(medsmall) ///
>                   order("Executive Estimates (ATE)""Congressional Appropriations (ATE)". ///
>                   "Executive Estimates (ATE: E)" "Congressional Appropriations (ATE: E)". ///
>                   "Executive Estimates (ATE: I)" "Congressional Appropriations (ATE: I)") ///
>                   byopts(note("Point Estimates and Corresponding 95% Confidence Intervals", j(right) place(seast) size(vsmall)) ///
>                    title("Figure 1. 1921 Budget and Accounting Act Average Treatment Effects on" "Executive and Legislative Budget Control", size(med)span)) 
{res}{p 0 4 2}
{txt}(note:  named style
med not found in class
gsize,  default attributes used)
{p_end}
{res}{txt}
{com}.                   
. *graph save "C:\Users\Jin\Dropbox\BACA paper\Graphs\Governance\gph\Figure1.gph", replace
. *graph export "C:\Users\Jin\Dropbox\BACA paper\Graphs\Governance\Figure1.png", replace
.                   
.                   
. ********************************************************************************************************************************************************************
. ********************************************************************************************************************************************************************
. ********************************************************************************************************************************************************************
.                   
.                   
.                   
. *** II. ESTIMATE DIFFERENCE-IN DIFFERENCES MODELS USING BUDGETARY STABILITY IN NATURAL LOGARITHMS AS DEPENDENT VARIABLE ***
. 
. 
. 
. *** ESTIMATE EFFECT OF BAA REFORMS ON EXECUTIVE BUDGET STABILITY USING ABADIE'S SEMI-PARAMETRIC PROPENSITY SCORE WEIGHTED ESTIMATOR OF HETEROGENEOUS AVERAGE TREATMENT EFFECTS ***
. 
. absdid lnexecbudstabletot, tvar(bureauofbudget)  xvar(presidentparty presidentialstabilityadministrat housemajoritypartystability senatemajoritypartystability ///
> agencyheadstability realgnpgrowth realfeddeficitgnp lnagencyage) sle
{res}
{txt}Abadie's semi-parametric diff-in-diff{col 49}Number of obs{col 67}= {res}       739

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}lnexecbuds~t{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATT          {txt}{c |}
{space 7}_cons {c |}{col 14}{res}{space 2} .1942433{col 26}{space 2} .1514693{col 37}{space 1}    1.28{col 46}{space 3}0.200{col 54}{space 4} -.102631{col 67}{space 3} .4911177
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store ateest
{txt}
{com}. *
. absdid lnexecbudstabletot, tvar(bureauofbudget)  xvar(presidentparty presidentialstabilityadministrat housemajoritypartystability senatemajoritypartystability ///
> agencyheadstability realgnpgrowth realfeddeficitgnp lnagencyage)  yxvar(executiveagency) sle
{res}
{txt}Abadie's semi-parametric diff-in-diff{col 49}Number of obs{col 67}= {res}       739

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}lnexecbudstab~t{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATT             {txt}{c |}
executiveagency {c |}{col 17}{res}{space 2}-3.532729{col 29}{space 2} .3895811{col 40}{space 1}   -9.07{col 49}{space 3}0.000{col 57}{space 4}-4.296294{col 70}{space 3}-2.769164
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} 1.929818{col 29}{space 2} .2000908{col 40}{space 1}    9.64{col 49}{space 3}0.000{col 57}{space 4} 1.537647{col 70}{space 3} 2.321989
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store esti
{txt}
{com}. 
. lincomest _cons + executiveagency
{txt}Confidence interval for formula:
{res}_cons+executiveagency

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}lnexecbuds~t{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-1.602911{col 26}{space 2} .3211434{col 37}{space 1}   -4.99{col 46}{space 3}0.000{col 54}{space 4} -2.23234{col 67}{space 3}-.9734813
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store este
{txt}
{com}. 
. *
. *
. *
. absdid lnexecbudstablereg, tvar(bureauofbudget)  xvar(presidentparty presidentialstabilityadministrat housemajoritypartystability senatemajoritypartystability ///
> agencyheadstability realgnpgrowth realfeddeficitgnp lnagencyage) sle
{res}
{txt}Abadie's semi-parametric diff-in-diff{col 49}Number of obs{col 67}= {res}       739

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}lnexecbuds~g{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATT          {txt}{c |}
{space 7}_cons {c |}{col 14}{res}{space 2} .1960802{col 26}{space 2} .1504941{col 37}{space 1}    1.30{col 46}{space 3}0.193{col 54}{space 4}-.0988829{col 67}{space 3} .4910432
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store ateesr
{txt}
{com}. *
. absdid lnexecbudstablereg, tvar(bureauofbudget)  xvar(presidentparty presidentialstabilityadministrat housemajoritypartystability senatemajoritypartystability ///
> agencyheadstability realgnpgrowth realfeddeficitgnp lnagencyage)  yxvar(executiveagency) sle
{res}
{txt}Abadie's semi-parametric diff-in-diff{col 49}Number of obs{col 67}= {res}       739

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}lnexecbudstab~g{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATT             {txt}{c |}
executiveagency {c |}{col 17}{res}{space 2}-3.396949{col 29}{space 2}  .386715{col 40}{space 1}   -8.78{col 49}{space 3}0.000{col 57}{space 4}-4.154896{col 70}{space 3}-2.639001
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} 1.864948{col 29}{space 2} .1971919{col 40}{space 1}    9.46{col 49}{space 3}0.000{col 57}{space 4} 1.478459{col 70}{space 3} 2.251437
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store esri
{txt}
{com}. 
. lincomest _cons + executiveagency
{txt}Confidence interval for formula:
{res}_cons+executiveagency

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}lnexecbuds~g{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}   -1.532{col 26}{space 2} .3193039{col 37}{space 1}   -4.80{col 46}{space 3}0.000{col 54}{space 4}-2.157825{col 67}{space 3}-.9061764
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store esre
{txt}
{com}. 
. *
. *
. *
. 
. *** ESTIMATE CONGRESSIONAL BUDGET STABILITY USING ABADIE'S SEMI-PARAMETRIC PROPENSITY SCORE WEIGHTED ESTIMATOR OF HETEROGENEOUS AVERAGE TREATMENT EFFECTS ***
. 
. absdid lncongbudstabletot, tvar(bureauofbudget)  xvar(housemajorityparty presidentialstabilityadministrat housemajoritypartystability senatemajoritypartystability ///
> appropcommchairstabilityest realgnpgrowth realfeddeficitgnp lnagencyage) sle
{res}
{txt}Abadie's semi-parametric diff-in-diff{col 49}Number of obs{col 67}= {res}       750

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}lncongbuds~t{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATT          {txt}{c |}
{space 7}_cons {c |}{col 14}{res}{space 2} .3838773{col 26}{space 2} .1853391{col 37}{space 1}    2.07{col 46}{space 3}0.038{col 54}{space 4} .0206193{col 67}{space 3} .7471354
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store atecst
{txt}
{com}. *
. absdid lncongbudstabletot, tvar(bureauofbudget)  xvar(housemajorityparty presidentialstabilityadministrat housemajoritypartystability senatemajoritypartystability ///
> appropcommchairstabilityest realgnpgrowth realfeddeficitgnp lnagencyage)  yxvar(executiveagency) sle
{res}
{txt}Abadie's semi-parametric diff-in-diff{col 49}Number of obs{col 67}= {res}       750

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}lncongbudstab~t{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATT             {txt}{c |}
executiveagency {c |}{col 17}{res}{space 2}-3.189631{col 29}{space 2} .4495941{col 40}{space 1}   -7.09{col 49}{space 3}0.000{col 57}{space 4}-4.070819{col 70}{space 3}-2.308443
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} 1.936544{col 29}{space 2} .2210412{col 40}{space 1}    8.76{col 49}{space 3}0.000{col 57}{space 4} 1.503311{col 70}{space 3} 2.369777
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store csti
{txt}
{com}. 
. lincomest _cons + executiveagency
{txt}Confidence interval for formula:
{res}_cons+executiveagency

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}lncongbuds~t{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-1.253087{col 26}{space 2} .3773016{col 37}{space 1}   -3.32{col 46}{space 3}0.001{col 54}{space 4}-1.992585{col 67}{space 3}-.5135897
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store cste
{txt}
{com}. *
. *
. *
. absdid lncongbudstablereg, tvar(bureauofbudget)  xvar(housemajorityparty presidentialstabilityadministrat housemajoritypartystability senatemajoritypartystability ///
> appropcommchairstabilityest realgnpgrowth realfeddeficitgnp lnagencyage) sle
{res}
{txt}Abadie's semi-parametric diff-in-diff{col 49}Number of obs{col 67}= {res}       750

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}lncongbuds~g{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATT          {txt}{c |}
{space 7}_cons {c |}{col 14}{res}{space 2} .3175812{col 26}{space 2} .1769601{col 37}{space 1}    1.79{col 46}{space 3}0.073{col 54}{space 4}-.0292544{col 67}{space 3} .6644167
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store atecsr
{txt}
{com}. *
. absdid lncongbudstablereg, tvar(bureauofbudget)  xvar(housemajorityparty presidentialstabilityadministrat housemajoritypartystability senatemajoritypartystability ///
> appropcommchairstabilityest realgnpgrowth realfeddeficitgnp lnagencyage)  yxvar(executiveagency) sle
{res}
{txt}Abadie's semi-parametric diff-in-diff{col 49}Number of obs{col 67}= {res}       750

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}lncongbudstab~g{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATT             {txt}{c |}
executiveagency {c |}{col 17}{res}{space 2}-3.126865{col 29}{space 2} .4363259{col 40}{space 1}   -7.17{col 49}{space 3}0.000{col 57}{space 4}-3.982048{col 70}{space 3}-2.271682
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} 1.839694{col 29}{space 2} .2167908{col 40}{space 1}    8.49{col 49}{space 3}0.000{col 57}{space 4} 1.414792{col 70}{space 3} 2.264596
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store csri
{txt}
{com}. 
. lincomest _cons + executiveagency
{txt}Confidence interval for formula:
{res}_cons+executiveagency

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}lncongbuds~g{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-1.287171{col 26}{space 2} .3634826{col 37}{space 1}   -3.54{col 46}{space 3}0.000{col 54}{space 4}-1.999584{col 67}{space 3}-.5747584
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store csre
{txt}
{com}. 
. *** Creating Coefficient Plots for Budget Stability Models***
. 
. *** Figure 2 ***
. coefplot (ateest, rename(_cons="Executive Estimates (ATE)")\ ///
>                         atecst, rename(_cons="Congressional Appropriations (ATE)")) ///
>                  (este, rename((1)="Executive Estimates (ATE: E)")\ ///
>                                 cste, rename((1)="Congressional Appropriations (ATE: E)")) ///
>                  (esti, keep (_cons) rename(_cons="Executive Estimates (ATE: I)")\ ///
>                         csti, keep (_cons) rename(_cons="Congressional Appropriations (ATE: I)")) ///
>                   ,  bylabel(Total Budget) ///
>                   ||                       ///
>                  (ateesr, rename(_cons="Executive Estimates (ATE)")\ ///
>                         atecsr, rename(_cons="Congressional Appropriations (ATE)")) ///
>                  (esre, rename((1)="Executive Estimates (ATE: E)")\ ///
>                         csre, rename((1)="Congressional Appropriations (ATE: E)")) ///
>                  (esri, keep (_cons) rename(_cons="Executive Estimates (ATE: I)")\ ///
>                         csri, keep (_cons) rename(_cons="Congressional Appropriations (ATE: I)")) ///
>                   , bylabel(Regular Budget) ///
>           ||, ///
>           nokey xline (0, lcolor(black) lwidth(thin) lpattern(dash)) grid(w)  ///
>                   ciopts(recast(rcap)) nooffsets msize(medsmall)                      ///
>                   order("Executive Estimates (ATE)""Congressional Appropriations (ATE)". ///
>                   "Executive Estimates (ATE: E)" "Congressional Appropriations (ATE: E)". ///
>                   "Executive Estimates (ATE: I)" "Congressional Appropriations (ATE: I)") ///
>                   byopts(note("Point Estimates and Corresponding 95% Confidence Intervals", j(right) place(seast) size(vsmall)) ///
>                   title ("Figure 2. 1921 Budget and Accounting Act Average Treatment Effects on" "Executive and Legislative Budget Stability", size(med)span)) 
{res}{p 0 4 2}
{txt}(note:  named style
med not found in class
gsize,  default attributes used)
{p_end}
{res}{txt}
{com}.                   
. *graph save "C:\Users\Jin\Dropbox\BACA paper\Graphs\Governance\gph\Figure2.gph", replace
. *graph export "C:\Users\Jin\Dropbox\BACA paper\Graphs\Governance\Figure2.png", replace
. 
. 
.           
. ********************************************************************************************************************************************************************
. ********************************************************************************************************************************************************************
. ********************************************************************************************************************************************************************
.                   
. 
. 
. *** III. ESTIMATE EFFECT OF BAA REFORMS ON EXECUTIVE-LEGISLATIVE BUDGETARY COHERENCE IN NATURAL LOGARITHMS (+1) AS DEPENDENT VARIABLE ***
. 
. 
. *** ESTIMATE EXECUTIVE-CONGRESSIONAL BUDGET COHERENCE USING ABADIE'S SEMI-PARAMETRIC PROPENSITY SCORE WEIGHTED ESTIMATOR OF HETEROGENEOUS AVERAGE TREATMENT EFFECTS ***
. 
. absdid ln1execbudcoherencetot, tvar(bureauofbudget)  xvar(presidentialstabilityadministrat housemajoritypartystability senatemajoritypartystability ///
> unifiedpartygovt sharedtenureest realgnpgrowth realfeddeficitgnp lnagencyage) sle 
{res}
{txt}Abadie's semi-parametric diff-in-diff{col 49}Number of obs{col 67}= {res}       729

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}ln1execbud~t{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATT          {txt}{c |}
{space 7}_cons {c |}{col 14}{res}{space 2}-.3467074{col 26}{space 2} .1507539{col 37}{space 1}   -2.30{col 46}{space 3}0.021{col 54}{space 4}-.6421797{col 67}{space 3}-.0512351
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store atebct
{txt}
{com}. *
. absdid ln1execbudcoherencetot, tvar(bureauofbudget)  xvar(presidentialstabilityadministrat housemajoritypartystability senatemajoritypartystability ///
> unifiedpartygovt sharedtenureest realgnpgrowth realfeddeficitgnp lnagencyage) yxvar(executiveagency) sle
{res}
{txt}Abadie's semi-parametric diff-in-diff{col 49}Number of obs{col 67}= {res}       729

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}ln1execbudcoh~t{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATT             {txt}{c |}
executiveagency {c |}{col 17}{res}{space 2}-3.563948{col 29}{space 2} .4693539{col 40}{space 1}   -7.59{col 49}{space 3}0.000{col 57}{space 4}-4.483865{col 70}{space 3}-2.644031
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} 1.381781{col 29}{space 2} .2654598{col 40}{space 1}    5.21{col 49}{space 3}0.000{col 57}{space 4} .8614899{col 70}{space 3} 1.902073
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store bcti
{txt}
{com}. 
. lincomest _cons + executiveagency
{txt}Confidence interval for formula:
{res}_cons+executiveagency

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}ln1execbud~t{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-2.182167{col 26}{space 2} .3335653{col 37}{space 1}   -6.54{col 46}{space 3}0.000{col 54}{space 4}-2.835943{col 67}{space 3}-1.528391
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store bcte
{txt}
{com}. *
. *
. *
. absdid ln1execbudcoherencereg, tvar(bureauofbudget)  xvar(presidentialstabilityadministrat housemajoritypartystability senatemajoritypartystability ///
> unifiedpartygovt sharedtenureest realgnpgrowth realfeddeficitgnp lnagencyage) sle
{res}
{txt}Abadie's semi-parametric diff-in-diff{col 49}Number of obs{col 67}= {res}       729

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}ln1execbud~g{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATT          {txt}{c |}
{space 7}_cons {c |}{col 14}{res}{space 2}-.1922339{col 26}{space 2} .1505711{col 37}{space 1}   -1.28{col 46}{space 3}0.202{col 54}{space 4}-.4873478{col 67}{space 3}   .10288
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store atebcr
{txt}
{com}. *
. absdid ln1execbudcoherencereg, tvar(bureauofbudget)  xvar(presidentialstabilityadministrat housemajoritypartystability senatemajoritypartystability ///
> unifiedpartygovt sharedtenureest realgnpgrowth realfeddeficitgnp lnagencyage) yxvar(executiveagency) sle
{res}
{txt}Abadie's semi-parametric diff-in-diff{col 49}Number of obs{col 67}= {res}       729

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}ln1execbudcoh~g{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATT             {txt}{c |}
executiveagency {c |}{col 17}{res}{space 2}-3.202992{col 29}{space 2} .4623346{col 40}{space 1}   -6.93{col 49}{space 3}0.000{col 57}{space 4}-4.109151{col 70}{space 3}-2.296832
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} 1.361194{col 29}{space 2} .2646324{col 40}{space 1}    5.14{col 49}{space 3}0.000{col 57}{space 4} .8425237{col 70}{space 3} 1.879864
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store bcri
{txt}
{com}. 
. lincomest _cons + executiveagency
{txt}Confidence interval for formula:
{res}_cons+executiveagency

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}ln1execbud~g{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-1.841798{col 26}{space 2} .3259858{col 37}{space 1}   -5.65{col 46}{space 3}0.000{col 54}{space 4}-2.480719{col 67}{space 3}-1.202878
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store bcre
{txt}
{com}. *
. *
. *
. *** Creating Coefficient Plots for Budget Coherence Models***
. *** Figure 3 ***
. coefplot (atebct, rename(_cons="ATE: All Agencies")) ///
>                  (bcte, rename((1)="ATE: Executive Agencies")) ///
>                  (bcti, keep (_cons) rename(_cons="ATE: Independent Agencies")) ///
>                   ,  bylabel(Total Budget) ///
>                   ||                       ///
>                  (atebcr, rename(_cons="ATE: All Agencies")) ///
>                  (bcre, rename((1)="ATE: Executive Agencies")) ///
>                  (bcri, keep (_cons) rename(_cons="ATE: Independent Agencies")) ///
>                   , bylabel(Regular Budget) ///
>           ||, ///
>           nokey xline (0, lcolor(black) lwidth(thin) lpattern(dash)) grid(w) ciopts(recast(rcap)) ///
>                   nooffsets msize(medsmall) ///
>                   byopts(note("Point Estimates and Corresponding 95% Confidence Intervals", j(right) place(seast) size(vsmall)) ///
>                   title ("Figure 3. 1921 Budget and Accounting Act Average Treatment Effects on" "Executive-Legislative Budget Coherence", size(med)span)) 
{res}{p 0 4 2}
{txt}(note:  named style
med not found in class
gsize,  default attributes used)
{p_end}
{res}{txt}
{com}.                   
. *graph save "C:\Users\Jin\Dropbox\BACA paper\Graphs\Governance\gph\Figure3.gph", replace
. *graph export "C:\Users\Jin\Dropbox\BACA paper\Graphs\Governance\Figure3.png", replace
. 
.           
. ********************************************************************************************************************************************************************
. ********************************************************************************************************************************************************************
. ********************************************************************************************************************************************************************
.                   
. 
. 
. 
.  * CLOSE LOG FILE
. 
.  log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\Jin\Dropbox\BACA paper\Governance\Replication File Materials\Code\Main Models.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res} 1 Jul 2019, 18:01:39
{txt}{.-}
{smcl}
{txt}{sf}{ul off}